{% extends 'base.html' %}
{% block content %}
    {% if notfound %}
    <h2>{{ notfound }}</h2>
    {% else %}
   <div class="card" style="width: 18rem;">
                    <img class="card-img-top" src="{{ username.avatar_url }}" alt="Card image cap">
                    <div class="card-body">
                    <h5 class="card-title">{{ username.name }}</h5>
                    <p class="card-text">{{ username.location }}的Github</p>
                    <p class="card-text">{{ username.blog }}</p>

                    <a href="{{ username.html_url }}" class="btn btn-primary">访问 {{ username.login }}</a>
                    </div>
                </div>
    {% endif %}
{% endblock %}


